[INFO] cloning repository https://github.com/Alextopher/pcloud-cli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alextopher/pcloud-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlextopher%2Fpcloud-cli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlextopher%2Fpcloud-cli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bea1df6e83ca689c62e7d3ad4f6acfeb94aa715a
[INFO] checking Alextopher/pcloud-cli against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlextopher%2Fpcloud-cli" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Alextopher/pcloud-cli on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Alextopher/pcloud-cli
[INFO] finished tweaking git repo https://github.com/Alextopher/pcloud-cli
[INFO] tweaked toml for git repo https://github.com/Alextopher/pcloud-cli written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Alextopher/pcloud-cli already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5af0d814dc9bc7fbc74a5351e80abfcc5453c6fd19ade323b9d8ed6b1b32ed03
[INFO] running `Command { std: "docker" "start" "-a" "5af0d814dc9bc7fbc74a5351e80abfcc5453c6fd19ade323b9d8ed6b1b32ed03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5af0d814dc9bc7fbc74a5351e80abfcc5453c6fd19ade323b9d8ed6b1b32ed03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5af0d814dc9bc7fbc74a5351e80abfcc5453c6fd19ade323b9d8ed6b1b32ed03", kill_on_drop: false }`
[INFO] [stdout] 5af0d814dc9bc7fbc74a5351e80abfcc5453c6fd19ade323b9d8ed6b1b32ed03
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 588eb3abe57418753dc274f236bc4d9dafc6bedeadd2483e9a9314cbab431fee
[INFO] running `Command { std: "docker" "start" "-a" "588eb3abe57418753dc274f236bc4d9dafc6bedeadd2483e9a9314cbab431fee", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.42
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.2
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking once_cell v1.13.0
[INFO] [stderr]    Compiling tokio v1.20.1
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]     Checking bytes v1.2.0
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.140
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]     Checking parking_lot_core v0.9.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]    Compiling serde v1.0.140
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking ahash v0.7.6
[INFO] [stderr]     Checking tracing-core v0.1.29
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]     Checking tracing v0.1.35
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]    Compiling crossbeam-utils v0.8.11
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking unicode-normalization v0.1.21
[INFO] [stderr]    Compiling zstd-sys v2.0.1+zstd.1.5.2
[INFO] [stderr]    Compiling libsqlite3-sys v0.24.2
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.6
[INFO] [stderr]     Checking tokio-util v0.7.3
[INFO] [stderr]     Checking actix-rt v2.7.0
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]     Checking local-waker v0.1.3
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.3
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling either v1.7.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]    Compiling tokio-openssl v0.6.3
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking alloc-stdlib v0.2.1
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]     Checking actix-utils v3.0.0
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]    Compiling spin v0.9.4
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling crc-catalog v2.1.0
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.11
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling pin-project v1.0.11
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling sqlformat v0.1.8
[INFO] [stderr]    Compiling sqlx-rt v0.6.0
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking futures-executor v0.3.21
[INFO] [stderr]     Checking miniz_oxide v0.5.3
[INFO] [stderr]    Compiling thiserror v1.0.31
[INFO] [stderr]    Compiling sha2 v0.10.2
[INFO] [stderr]    Compiling flume v0.10.14
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling crc v3.0.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.9
[INFO] [stderr]    Compiling futures-intrusive v0.4.0
[INFO] [stderr]     Checking brotli-decompressor v2.3.2
[INFO] [stderr]    Compiling atoi v1.0.0
[INFO] [stderr]    Compiling hashlink v0.8.0
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]     Checking actix-codec v0.5.0
[INFO] [stderr]    Compiling bytestring v1.1.0
[INFO] [stderr]    Compiling cookie v0.16.0
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]    Compiling firestorm v0.5.1
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]     Checking num_threads v0.1.6
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]    Compiling actix-router v0.5.0
[INFO] [stderr]     Checking actix-tls v3.0.3
[INFO] [stderr]     Checking brotli v3.3.4
[INFO] [stderr]     Checking flate2 v1.0.24
[INFO] [stderr]     Checking time v0.3.11
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking local-channel v0.1.3
[INFO] [stderr]     Checking sha1 v0.10.1
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling actix-web-codegen v4.0.1
[INFO] [stderr]     Checking actix-server v2.1.1
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking os_str_bytes v6.2.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking hyper v0.14.20
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking ipnet v2.5.0
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]    Compiling clap_derive v3.2.15
[INFO] [stderr]    Compiling sqlx-core v0.6.0
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.11
[INFO] [stderr]     Checking clap v3.2.15
[INFO] [stderr]    Compiling sqlx-macros v0.6.0
[INFO] [stderr]     Checking sqlx v0.6.0
[INFO] [stderr]     Checking zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]     Checking actix-http v3.2.1
[INFO] [stderr]     Checking actix-web v4.1.0
[INFO] [stderr]     Checking pcloud_server v0.1.0 (/opt/rustwide/workdir/pcloud_server)
[INFO] [stderr]     Checking pcloud v0.1.0 (/opt/rustwide/workdir/pcloud)
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]  --> pcloud_server/src/redirect.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let redirects = sqlx::query_as!(Redirect, "SELECT * FROM redirects")
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]  --> pcloud_server/src/redirect.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let redirects = sqlx::query_as!(Redirect, "SELECT * FROM redirects")
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]   --> pcloud_server/src/redirect.rs:37:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let stmt = sqlx::query_as!(Redirect, "SELECT * FROM redirects WHERE key = ?", key)
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]   --> pcloud_server/src/redirect.rs:37:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let stmt = sqlx::query_as!(Redirect, "SELECT * FROM redirects WHERE key = ?", key)
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]   --> pcloud_server/src/redirect.rs:56:31
[INFO] [stdout]    |
[INFO] [stdout] 56 | ... = sqlx::query!("INSERT INTO redirects (key, target, destory_after, remaining_usage) VALUES (?, ?, ?, ?)", r.key, r.target, r.destory_after, r.remaining_usage)
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]   --> pcloud_server/src/redirect.rs:56:31
[INFO] [stdout]    |
[INFO] [stdout] 56 | ... = sqlx::query!("INSERT INTO redirects (key, target, destory_after, remaining_usage) VALUES (?, ?, ?, ?)", r.key, r.target, r.destory_after, r.remaining_usage)
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]    --> pcloud_server/src/redirect.rs:107:17
[INFO] [stdout]     |
[INFO] [stdout] 107 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 108 | |             "UPDATE redirects SET remaining_usage = remaining_usage - 1 WHERE key = ?",
[INFO] [stdout] 109 | |             key
[INFO] [stdout] 110 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]    --> pcloud_server/src/redirect.rs:117:17
[INFO] [stdout]     |
[INFO] [stdout] 117 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 118 | |             "DELETE FROM redirects WHERE key = ? AND (remaining_usage < 0 OR destory_after < ?)",
[INFO] [stdout] 119 | |             key,
[INFO] [stdout] 120 | |             now
[INFO] [stdout] 121 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]    --> pcloud_server/src/redirect.rs:126:24
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let redirect = sqlx::query_as!(Redirect, "SELECT * FROM redirects WHERE key = ?", key)
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]    --> pcloud_server/src/redirect.rs:107:17
[INFO] [stdout]     |
[INFO] [stdout] 107 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 108 | |             "UPDATE redirects SET remaining_usage = remaining_usage - 1 WHERE key = ?",
[INFO] [stdout] 109 | |             key
[INFO] [stdout] 110 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]    --> pcloud_server/src/redirect.rs:117:17
[INFO] [stdout]     |
[INFO] [stdout] 117 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 118 | |             "DELETE FROM redirects WHERE key = ? AND (remaining_usage < 0 OR destory_after < ?)",
[INFO] [stdout] 119 | |             key,
[INFO] [stdout] 120 | |             now
[INFO] [stdout] 121 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]    --> pcloud_server/src/redirect.rs:126:24
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let redirect = sqlx::query_as!(Redirect, "SELECT * FROM redirects WHERE key = ?", key)
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pcloud_server` (bin "pcloud_server" test) due to 7 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `pcloud_server` (bin "pcloud_server") due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "588eb3abe57418753dc274f236bc4d9dafc6bedeadd2483e9a9314cbab431fee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "588eb3abe57418753dc274f236bc4d9dafc6bedeadd2483e9a9314cbab431fee", kill_on_drop: false }`
[INFO] [stdout] 588eb3abe57418753dc274f236bc4d9dafc6bedeadd2483e9a9314cbab431fee
